package com.atmilan.quartz.service.impl;

import com.atmilan.quartz.mapper.DelloglioProductMapper;
import com.atmilan.quartz.model.entity.delloglio.DelloglioProduct;
import com.atmilan.quartz.service.IDelloglioProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * Delloglio商品数据源 服务实现类
 * </p>
 *
 * @author wuzp
 * @since 2021-10-14
 */
@Service
public class DelloglioProductServiceImpl extends ServiceImpl<DelloglioProductMapper, DelloglioProduct> implements IDelloglioProductService {

    @Autowired
    DelloglioProductMapper delloglioProductMapper;

    @Override
    public void deleteAll() {
        delloglioProductMapper.deleteAll();
    }

    @Override
    public void copyAll() {
        delloglioProductMapper.deleteProductBack();
        delloglioProductMapper.copyProductBack();
    }


}
